package com.ruoyi.hospital.mapper;

import java.util.List;
import com.ruoyi.hospital.domain.CustomerRechargeRecord;

/**
 * 客户充值记录Mapper接口
 * 
 * @author qichi
 * @date 2023-07-04
 */
public interface CustomerRechargeRecordMapper 
{
    /**
     * 查询客户充值记录
     * 
     * @param id 客户充值记录主键
     * @return 客户充值记录
     */
    public CustomerRechargeRecord selectCustomerRechargeRecordById(Long id);

    /**
     * 查询客户充值记录列表
     * 
     * @param customerRechargeRecord 客户充值记录
     * @return 客户充值记录集合
     */
    public List<CustomerRechargeRecord> selectCustomerRechargeRecordList(CustomerRechargeRecord customerRechargeRecord);

    /**
     * 新增客户充值记录
     * 
     * @param customerRechargeRecord 客户充值记录
     * @return 结果
     */
    public int insertCustomerRechargeRecord(CustomerRechargeRecord customerRechargeRecord);

    /**
     * 修改客户充值记录
     * 
     * @param customerRechargeRecord 客户充值记录
     * @return 结果
     */
    public int updateCustomerRechargeRecord(CustomerRechargeRecord customerRechargeRecord);

    /**
     * 删除客户充值记录
     * 
     * @param id 客户充值记录主键
     * @return 结果
     */
    public int deleteCustomerRechargeRecordById(Long id);

    /**
     * 批量删除客户充值记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCustomerRechargeRecordByIds(Long[] ids);
}
